package com.mdh.runerrands.service;


import com.mdh.runerrands.pojo.Comment;

import java.util.List;

public interface ICommentService {
    boolean batchDelete(int ...ids);
    boolean updateComment(int id,String status);
    boolean deleteById(int id);
    List<Comment> findByCusId(int cusId);
    List<Comment> query(int page,int pageSize,String content,Long commentTime,Integer cusId,Integer orderId);
    int selectCount(String content,Long commentTime,Integer cusId,Integer orderId);
    boolean insert(Comment comment);
    boolean update(Comment comment);
    List<Comment> findByOrderId(Integer orderId);
}
